/**
 * Created by Admin on 2018-05-12.
 */
(()=>{
	window.CategoryModel = class CategoryModel extends Model {
		static get table() {return 'category'};
		
		getName(value) { return this.get('name', value); }
		setName(value) { return this.set('name', value); }
		getParent(value) { return this.get('parent', value); }
		setParent(value) { return this.set('parent', value); }
		getPosition(value) { return this.get('position', value); }
		setPosition(value) { return this.set('position', value); }
	};
	
	Core.setToParentWindow('CategoryModel', CategoryModel);
})();


